/**
 * 
 */
package com.aasa.siccosap.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author franklin.bustos
 *
 */
public class CtaCteDocumentosDeuda implements Serializable{
	Date objPb_fecVen;				//DOCU_CLIENTES.FEC_VEN%TYPE,
	Date objPb_fecEmi;				//DOCU_CLIENTES.FEC_EMI%TYPE,  
	String strPb_numeroManual;		//DOCU_CLIENTES.NUMERO_MANUAL%TYPE,  
	String strPb_serieManual;		//DOCU_CLIENTES.SERIE_MANUAL%TYPE,  
	String strPb_desAbv;				//TIPO_DOCUMENTOS.DES_ABV%TYPE,  
	Double dblPb_tipCam;				//DOCU_CLIENTES.TIP_CAM%TYPE,
	Double dblPb_saldoDolDocumento;	//NUMBER,
	Double dblPb_cfDp;				//NUMBER,
	Double dblPb_importeSoles;		//NUMBER,
	Double dblPb_importeDolares;		//NUMBER,
	Double dblPb_saldoDocumento;		//NUMBER,
    List<CtaCteCobranzas> aobjPb_lstCobranzas;	//CONSULTA_CTA_CTE_TIPOS_PKG.TT_TR_COBRANZAS,
    List<CtaCteDcEmpCodEmp1> aobjPb_lstDcEdEmpCodEmp1;	//CONSULTA_CTA_CTE_TIPOS_PKG.TT_TR_DC_EMP_COD_EMP1
    
    public CtaCteDocumentosDeuda() {
	}
    

	public CtaCteDocumentosDeuda(Date fecVen, Date fecEmi, String numeroManual,
			String serieManual, String desAbv, Double tipCam,
			Double saldoDolDocumento, Double cfDp, Double importeSoles,
			Double importeDolares, Double saldoDocumento,
			List<CtaCteCobranzas> lstCobranzas,
			List<CtaCteDcEmpCodEmp1> lstDcEdEmpCodEmp1) {
		this.objPb_fecVen = fecVen;
		this.objPb_fecEmi = fecEmi;
		this.strPb_numeroManual = numeroManual;
		this.strPb_serieManual = serieManual;
		this.strPb_desAbv = desAbv;
		this.dblPb_tipCam = tipCam;
		this.dblPb_saldoDolDocumento = saldoDolDocumento;
		this.dblPb_cfDp = cfDp;
		this.dblPb_importeSoles = importeSoles;
		this.dblPb_importeDolares = importeDolares;
		this.dblPb_saldoDocumento = saldoDocumento;
		this.aobjPb_lstCobranzas = lstCobranzas;
		this.aobjPb_lstDcEdEmpCodEmp1 = lstDcEdEmpCodEmp1;
	}

	public Date getObjPb_fecVen() {
		return objPb_fecVen;
	}

	public void setObjPb_fecVen(Date fecVen) {
		this.objPb_fecVen = fecVen;
	}

	public Date getObjPb_fecEmi() {
		return objPb_fecEmi;
	}

	public void setObjPb_fecEmi(Date fecEmi) {
		this.objPb_fecEmi = fecEmi;
	}

	public String getStrPb_numeroManual() {
		return strPb_numeroManual;
	}

	public void setStrPb_numeroManual(String numeroManual) {
		this.strPb_numeroManual = numeroManual;
	}

	public String getStrPb_serieManual() {
		return strPb_serieManual;
	}

	public void setStrPb_serieManual(String serieManual) {
		this.strPb_serieManual = serieManual;
	}

	public String getStrPb_desAbv() {
		return strPb_desAbv;
	}

	public void setStrPb_desAbv(String desAbv) {
		this.strPb_desAbv = desAbv;
	}

	public Double getDblPb_tipCam() {
		return dblPb_tipCam;
	}

	public void setDblPb_tipCam(Double tipCam) {
		this.dblPb_tipCam = tipCam;
	}

	public Double getDblPb_saldoDolDocumento() {
		return dblPb_saldoDolDocumento;
	}

	public void setDblPb_saldoDolDocumento(Double saldoDolDocumento) {
		this.dblPb_saldoDolDocumento = saldoDolDocumento;
	}

	public Double getDblPb_cfDp() {
		return dblPb_cfDp;
	}

	public void setDblPb_cfDp(Double cfDp) {
		this.dblPb_cfDp = cfDp;
	}

	public Double getDblPb_importeSoles() {
		return dblPb_importeSoles;
	}

	public void setDblPb_importeSoles(Double importeSoles) {
		this.dblPb_importeSoles = importeSoles;
	}

	public Double getDblPb_importeDolares() {
		return dblPb_importeDolares;
	}

	public void setDblPb_importeDolares(Double importeDolares) {
		this.dblPb_importeDolares = importeDolares;
	}

	public Double getDblPb_saldoDocumento() {
		return dblPb_saldoDocumento;
	}

	public void setDblPb_saldoDocumento(Double saldoDocumento) {
		this.dblPb_saldoDocumento = saldoDocumento;
	}

	public List<CtaCteCobranzas> getLstCobranzas() {
		return aobjPb_lstCobranzas;
	}

	public void setLstCobranzas(List<CtaCteCobranzas> lstCobranzas) {
		this.aobjPb_lstCobranzas = lstCobranzas;
	}

	public List<CtaCteDcEmpCodEmp1> getLstDcEdEmpCodEmp1() {
		return aobjPb_lstDcEdEmpCodEmp1;
	}

	public void setLstDcEdEmpCodEmp1(List<CtaCteDcEmpCodEmp1> lstDcEdEmpCodEmp1) {
		this.aobjPb_lstDcEdEmpCodEmp1 = lstDcEdEmpCodEmp1;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int intL_prime = 31;
		int intL_result = 1;
		intL_result = intL_prime * intL_result + ((dblPb_cfDp == null) ? 0 : dblPb_cfDp.hashCode());
		intL_result = intL_prime * intL_result + ((strPb_desAbv == null) ? 0 : strPb_desAbv.hashCode());
		intL_result = intL_prime * intL_result + ((objPb_fecEmi == null) ? 0 : objPb_fecEmi.hashCode());
		intL_result = intL_prime * intL_result + ((objPb_fecVen == null) ? 0 : objPb_fecVen.hashCode());
		intL_result = intL_prime * intL_result
				+ ((dblPb_importeDolares == null) ? 0 : dblPb_importeDolares.hashCode());
		intL_result = intL_prime * intL_result
				+ ((dblPb_importeSoles == null) ? 0 : dblPb_importeSoles.hashCode());
		intL_result = intL_prime * intL_result
				+ ((strPb_numeroManual == null) ? 0 : strPb_numeroManual.hashCode());
		intL_result = intL_prime * intL_result
				+ ((dblPb_saldoDocumento == null) ? 0 : dblPb_saldoDocumento.hashCode());
		intL_result = intL_prime
				* intL_result
				+ ((dblPb_saldoDolDocumento == null) ? 0 : dblPb_saldoDolDocumento
						.hashCode());
		intL_result = intL_prime * intL_result
				+ ((strPb_serieManual == null) ? 0 : strPb_serieManual.hashCode());
		intL_result = intL_prime * intL_result + ((dblPb_tipCam == null) ? 0 : dblPb_tipCam.hashCode());
		return intL_result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof CtaCteDocumentosDeuda))
			return false;
		final CtaCteDocumentosDeuda other = (CtaCteDocumentosDeuda) obj;
		if (dblPb_cfDp == null) {
			if (other.dblPb_cfDp != null)
				return false;
		} else if (!dblPb_cfDp.equals(other.dblPb_cfDp))
			return false;
		if (strPb_desAbv == null) {
			if (other.strPb_desAbv != null)
				return false;
		} else if (!strPb_desAbv.equals(other.strPb_desAbv))
			return false;
		if (objPb_fecEmi == null) {
			if (other.objPb_fecEmi != null)
				return false;
		} else if (!objPb_fecEmi.equals(other.objPb_fecEmi))
			return false;
		if (objPb_fecVen == null) {
			if (other.objPb_fecVen != null)
				return false;
		} else if (!objPb_fecVen.equals(other.objPb_fecVen))
			return false;
		if (dblPb_importeDolares == null) {
			if (other.dblPb_importeDolares != null)
				return false;
		} else if (!dblPb_importeDolares.equals(other.dblPb_importeDolares))
			return false;
		if (dblPb_importeSoles == null) {
			if (other.dblPb_importeSoles != null)
				return false;
		} else if (!dblPb_importeSoles.equals(other.dblPb_importeSoles))
			return false;
		if (strPb_numeroManual == null) {
			if (other.strPb_numeroManual != null)
				return false;
		} else if (!strPb_numeroManual.equals(other.strPb_numeroManual))
			return false;
		if (dblPb_saldoDocumento == null) {
			if (other.dblPb_saldoDocumento != null)
				return false;
		} else if (!dblPb_saldoDocumento.equals(other.dblPb_saldoDocumento))
			return false;
		if (dblPb_saldoDolDocumento == null) {
			if (other.dblPb_saldoDolDocumento != null)
				return false;
		} else if (!dblPb_saldoDolDocumento.equals(other.dblPb_saldoDolDocumento))
			return false;
		if (strPb_serieManual == null) {
			if (other.strPb_serieManual != null)
				return false;
		} else if (!strPb_serieManual.equals(other.strPb_serieManual))
			return false;
		if (dblPb_tipCam == null) {
			if (other.dblPb_tipCam != null)
				return false;
		} else if (!dblPb_tipCam.equals(other.dblPb_tipCam))
			return false;
		return true;
	}
    
}
